import request from "@/utils/request";

export function mockMatchStart(data) {
    return request({
        url: '/mock-match/start',
        method: 'post',
        data:data,
        headers:{
            Authorization:localStorage.getItem('Authorization')
        }
    })
}

export function mockMatchFindById(id) {
    return request({
        url: '/mock-match/'+id,
        method: 'get',
        headers:{
            Authorization:localStorage.getItem('Authorization')
        }
    })
}

export function mockMatchQuestionList(id) {
    return request({
        url: '/mock-match/question-list/'+id,
        method: 'post',
        headers:{
            Authorization:localStorage.getItem('Authorization')
        }
    })
}